#pragma once
#include "shape.h"

class CParallelogram :
	public CShape
{
public:
	CParallelogram(void);
	~CParallelogram(void);
	CParallelogram(UINT type,CPoint pt);
	void Draw(CDC *pDC);
	CPoint GetPoint();
	virtual UINT GetType();
	virtual CPoint GetPrePoint();
	virtual void SetPrePoint(CPoint pt);
	virtual void Move(CDC * pDC,CPoint pt);
	virtual UINT GetHeight();
	virtual UINT GetWidth();
    virtual void SetWH();
	virtual void Resize(CDC *pDC,CPoint pt,int f);
	virtual CPoint Getpoint_1(){return m_point1;}
	virtual CPoint Getpoint_2(){return m_point2;}
	virtual CPoint Getpoint_3(){return m_point3;}
	virtual CPoint Getpoint_4(){return m_point4;}
	virtual CPoint Getpoint_5(){return m_point5;}
	virtual CPoint Getpoint_6(){return m_point6;}
	virtual CPoint Getpoint_7(){return m_point7;}
	virtual CPoint Getpoint_8(){return m_point8;}

	
};
